package com.bnz.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bnz.Classes;
import com.bnz.mapper.ClassesMapper;
import com.bnz.service.ClassesService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl extends ServiceImpl<ClassesMapper, Classes> implements ClassesService {
    // 查询全部
    @Override
    public List<Classes> findAll() {
        List<Classes> classes = getBaseMapper().selectList(null);
        return classes;
    }
}
